package com.sinosoft.cnmuseum.dao;

import java.util.HashMap;
import java.util.List;

import com.sinosoft.cnmuseum.entity.MbMusicTrackmessage;
import com.sinosoft.commontools.record.Record;
import com.sinosoft.dbtools.operate.single.DBSingleTableActorMgr;

public class MbMusicTrackmessageDao extends BaseDao{

	
	
	public MbMusicTrackmessageDao() {
		this.actor = DBSingleTableActorMgr.getDBSingleTableActor("Mb_music_trackmessage");
	}
	

	public List<Record> getDataByGcxxid(int gcxxid){
		HashMap<String, Object> map = new HashMap<String, Object>();
		map.put(MbMusicTrackmessage.GCXXID, gcxxid);
		List<Record> list = this.getListByProperty(map);
		if(list!=null&&list.size()>0){
			return list;
		}
		return null;
	}
	
}
